package com.xiyue.leaspring.vo;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class Emp5 implements Serializable {

	private Long empno;
	
	private String ename;
	
	private Integer age;
	
	private Double salary;
	
	private Date hiredate;
	
	private Dept5 dept;
	

	public Dept5 getDept() {
		return dept;
	}

	public void setDept(Dept5 dept) {
		this.dept = dept;
	}

	public Long getEmpno() {
		return empno;
	}

	public void setEmpno(Long empno) {
		this.empno = empno;
	}

	public String getEname() {
		return ename;
	}

	public void setEname(String ename) {
		this.ename = ename;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Double getSalary() {
		return salary;
	}

	public void setSalary(Double salary) {
		this.salary = salary;
	}

	public Date getHiredate() {
		return hiredate;
	}

	public void setHiredate(Date hiredate) {
		this.hiredate = hiredate;
	}

	@Override
	public String toString() {
		return "Emp [empno=" + empno + ", ename=" + ename + ", age=" + age + ", salary=" + salary + ", hiredate="
				+ hiredate + ", dept=" + dept + "]";
	}
	
	
	
	
	
}
